package org.bt.rpc.api.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 错误信息实体
 * <p>
 * Created on 2019/12/27
 *
 * @author tongw
 */
@Data
@Builder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
public class Error implements Serializable {
    @ApiModelProperty(value = "错误编码")
    private String code;
    @ApiModelProperty(value = "错误信息")
    private String message;
}
